<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>prencar: ExtendedMove Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="prencar.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">prencar
   &#160;<span id="projectnumber">1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_extended_move.html','');
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ExtendedMove Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Allows to define extended car control instuctions.  
 <a href="class_extended_move.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for ExtendedMove:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move__coll__graph.png" border="0" usemap="#_extended_move_coll__map" alt="Collaboration graph"/></div>
<map name="_extended_move_coll__map" id="_extended_move_coll__map">
<area shape="rect" id="node2" href="class_move.html" title="Move" alt="" coords="149,187,200,213"/><area shape="rect" id="node5" href="class_communication.html" title="Communication" alt="" coords="5,96,117,123"/><area shape="rect" id="node7" href="class_command.html" title="A Command object represents a command sent from the host software." alt="" coords="11,5,92,32"/><area shape="rect" id="node10" href="class_configuration.html" title="Configuration" alt="" coords="202,5,299,32"/><area shape="rect" id="node16" href="struct_move_command.html" title="MoveCommand" alt="" coords="362,187,472,213"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_extended_move-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a816f77b595c0ca03d44dd21b2d4de5ba"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a816f77b595c0ca03d44dd21b2d4de5ba">startCurrentQueue</a> (int commandQueueSize)</td></tr>
<tr class="memitem:ab03bf2a16ad494c392c209d5c0b3b65d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#ab03bf2a16ad494c392c209d5c0b3b65d">doJob</a> ()</td></tr>
<tr class="memitem:a9bd37ba3d8f98170dd33c8726934735a"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a9bd37ba3d8f98170dd33c8726934735a">isExecutionInProcess</a> (int queueId)</td></tr>
<tr class="memitem:a2d7b6db52a2c01d73e245c8648bdb5d6"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a2d7b6db52a2c01d73e245c8648bdb5d6">isExecutionInProcess</a> ()</td></tr>
<tr class="memitem:af44fd7e191b2484d1b70450835b43604"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#af44fd7e191b2484d1b70450835b43604">getCurrentCommandQueueId</a> ()</td></tr>
<tr class="memitem:a80ce42b3578e4fa17b6b2e3a05a70054"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_move_command.html">MoveCommand</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a80ce42b3578e4fa17b6b2e3a05a70054">getCurrentCommandInQueue</a> ()</td></tr>
<tr class="memitem:a27d912c36366495cd3b6b75f70b2b187"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a27d912c36366495cd3b6b75f70b2b187">getCurrentCommandIndexInQueue</a> ()</td></tr>
<tr class="memitem:ae80076eb8ea7ea00e7563e4bbf4657b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#ae80076eb8ea7ea00e7563e4bbf4657b6">stopCurrentQueue</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a8ba9c560726a121efa0c78f26780e46a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_extended_move.html">ExtendedMove</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a8ba9c560726a121efa0c78f26780e46a">getInstance</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5f34e9081613ec4d1796cac234b9cbb5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_move_command.html">MoveCommand</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a5f34e9081613ec4d1796cac234b9cbb5">commandQueue</a> [<a class="el" href="class_extended_move.html#a2af24920a90b5da13c36c78e9f0053f7">_MAXAMOUNTOFQUEUEDCOMMANDS</a>]</td></tr>
<tr class="memdesc:a5f34e9081613ec4d1796cac234b9cbb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current queue with commands that are executed.  <a href="#a5f34e9081613ec4d1796cac234b9cbb5"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:adfe6e7de87eab16e9a85ad5434819fee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#adfe6e7de87eab16e9a85ad5434819fee">executeCommand</a> (<a class="el" href="struct_move_command.html">MoveCommand</a> *mc)</td></tr>
<tr class="memitem:a4bf87fc8690c78ea76464cc8d006f528"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a4bf87fc8690c78ea76464cc8d006f528">ExtendedMove</a> ()</td></tr>
<tr class="memitem:aef13add1eb55a57abf64adbf4ae5f149"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#aef13add1eb55a57abf64adbf4ae5f149">begin</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a1220d0c15a28d8d5e2baf32b02ad33bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_communication.html">Communication</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a1220d0c15a28d8d5e2baf32b02ad33bc">_com</a></td></tr>
<tr class="memdesc:a1220d0c15a28d8d5e2baf32b02ad33bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The reference to the serial communication class.  <a href="#a1220d0c15a28d8d5e2baf32b02ad33bc"></a><br/></td></tr>
<tr class="memitem:a920b4f3eb82cd5d59a136f2e4a6d3be5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_move.html">Move</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a920b4f3eb82cd5d59a136f2e4a6d3be5">_move</a></td></tr>
<tr class="memdesc:a920b4f3eb82cd5d59a136f2e4a6d3be5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The reference to the move class to control the motors.  <a href="#a920b4f3eb82cd5d59a136f2e4a6d3be5"></a><br/></td></tr>
<tr class="memitem:a10b4e2c0017fc427074934dae39b8971"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_configuration.html">Configuration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a10b4e2c0017fc427074934dae39b8971">_conf</a></td></tr>
<tr class="memdesc:a10b4e2c0017fc427074934dae39b8971"><td class="mdescLeft">&#160;</td><td class="mdescRight">The reference to the configuration class.  <a href="#a10b4e2c0017fc427074934dae39b8971"></a><br/></td></tr>
<tr class="memitem:a48469d3672fb0e89c02c81cc725528ff"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a48469d3672fb0e89c02c81cc725528ff">_queueExecutionInProgress</a></td></tr>
<tr class="memdesc:a48469d3672fb0e89c02c81cc725528ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set to false if the last queue has been executed fully.  <a href="#a48469d3672fb0e89c02c81cc725528ff"></a><br/></td></tr>
<tr class="memitem:acd3af4d980730abd98da550fbd3c5333"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#acd3af4d980730abd98da550fbd3c5333">_currentCommandQueueId</a></td></tr>
<tr class="memdesc:acd3af4d980730abd98da550fbd3c5333"><td class="mdescLeft">&#160;</td><td class="mdescRight">Id of the current executed command queue (will be increased each time a new command arrives)  <a href="#acd3af4d980730abd98da550fbd3c5333"></a><br/></td></tr>
<tr class="memitem:a343c183651181db5fb85ed4084d9a7a2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a343c183651181db5fb85ed4084d9a7a2">_currentCommandQueueSize</a></td></tr>
<tr class="memitem:a778375b1b506e93fb882cafd2ccf5b76"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a778375b1b506e93fb882cafd2ccf5b76">_currentCommandIndexInQueue</a></td></tr>
<tr class="memdesc:a778375b1b506e93fb882cafd2ccf5b76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index of command that is currently in execution.  <a href="#a778375b1b506e93fb882cafd2ccf5b76"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a024e8f637662966bece3ae472feca23d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_extended_move.html">ExtendedMove</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a024e8f637662966bece3ae472feca23d">_instance</a></td></tr>
<tr class="memdesc:a024e8f637662966bece3ae472feca23d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static reference to the singleton object.  <a href="#a024e8f637662966bece3ae472feca23d"></a><br/></td></tr>
<tr class="memitem:a54bdfab5b9684ba2ede313e438d11611"><td class="memItemLeft" align="right" valign="top">static boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a54bdfab5b9684ba2ede313e438d11611">_instanceCreated</a> = false</td></tr>
<tr class="memitem:a2af24920a90b5da13c36c78e9f0053f7"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extended_move.html#a2af24920a90b5da13c36c78e9f0053f7">_MAXAMOUNTOFQUEUEDCOMMANDS</a> = 10</td></tr>
<tr class="memdesc:a2af24920a90b5da13c36c78e9f0053f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The max amount of commands the command queue can hold.  <a href="#a2af24920a90b5da13c36c78e9f0053f7"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Allows to define extended car control instuctions. </p>
<p>What can be done with <a class="el" href="class_extended_move.html" title="Allows to define extended car control instuctions.">ExtendedMove</a>: </p>
<ul>
<li>
The car can be controlled for a defined amount of time. <a class="el" href="class_extended_move.html" title="Allows to define extended car control instuctions.">ExtendedMove</a> takes care of stoping the car after this amount of time. </li>
<li>
A queue of commands can be executed. </li>
<li>
</li>
</ul>

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00026">26</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4bf87fc8690c78ea76464cc8d006f528"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_extended_move.html#a4bf87fc8690c78ea76464cc8d006f528">ExtendedMove::ExtendedMove</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00023">23</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_a4bf87fc8690c78ea76464cc8d006f528_icgraph.png" border="0" usemap="#class_extended_move_a4bf87fc8690c78ea76464cc8d006f528_icgraph" alt=""/></div>
<map name="class_extended_move_a4bf87fc8690c78ea76464cc8d006f528_icgraph" id="class_extended_move_a4bf87fc8690c78ea76464cc8d006f528_icgraph">
<area shape="rect" id="node3" href="class_extended_move.html#a8ba9c560726a121efa0c78f26780e46a" title="ExtendedMove::getInstance" alt="" coords="254,93,437,120"/><area shape="rect" id="node5" href="class_cube_approach.html#ac49270ba8b7c5bb6e60ffefc31175fc2" title="CubeApproach::begin" alt="" coords="687,5,833,32"/><area shape="rect" id="node12" href="class_curve_left.html#a0e6f8f5d7f869edfaf34cf3e74676a86" title="CurveLeft::begin" alt="" coords="703,81,817,108"/><area shape="rect" id="node15" href="class_extended_move.html#aef13add1eb55a57abf64adbf4ae5f149" title="ExtendedMove::begin" alt="" coords="485,93,632,120"/><area shape="rect" id="node18" href="class_line_center.html#a13e69abdd08c2da81f189e69642d980d" title="LineCenter::begin" alt="" coords="497,144,620,171"/><area shape="rect" id="node21" href="class_move_back_to_line.html#ab5f8b99d6379511c6ed09b4f50432641" title="MoveBackToLine::begin" alt="" coords="681,144,839,171"/><area shape="rect" id="node7" href="class_state_machine.html#a18b495baeae11732b76d252b2b8341c8" title="StateMachine::begin" alt="" coords="888,81,1029,108"/><area shape="rect" id="node9" href="class_state_machine.html#a7f7482a9af6910035a62f9c116165f60" title="StateMachine::getInstance" alt="" coords="1078,81,1255,108"/></map>
</div>
</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aef13add1eb55a57abf64adbf4ae5f149"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extended_move.html#aef13add1eb55a57abf64adbf4ae5f149">ExtendedMove::begin</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prepares the <a class="el" href="class_extended_move.html" title="Allows to define extended car control instuctions.">ExtendedMove</a> object to work together with other classes. The preparations done in here can not be done from within the constructor because of dependencies such as Serial communication. <b>This method needs to be called before this class can be fully used.</b> </p>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00033">33</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_aef13add1eb55a57abf64adbf4ae5f149_cgraph.png" border="0" usemap="#class_extended_move_aef13add1eb55a57abf64adbf4ae5f149_cgraph" alt=""/></div>
<map name="class_extended_move_aef13add1eb55a57abf64adbf4ae5f149_cgraph" id="class_extended_move_aef13add1eb55a57abf64adbf4ae5f149_cgraph">
<area shape="rect" id="node3" href="class_extended_move.html#a8ba9c560726a121efa0c78f26780e46a" title="ExtendedMove::getInstance" alt="" coords="201,5,383,32"/><area shape="rect" id="node5" href="class_extended_move.html#a4bf87fc8690c78ea76464cc8d006f528" title="ExtendedMove::ExtendedMove" alt="" coords="432,5,632,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_aef13add1eb55a57abf64adbf4ae5f149_icgraph.png" border="0" usemap="#class_extended_move_aef13add1eb55a57abf64adbf4ae5f149_icgraph" alt=""/></div>
<map name="class_extended_move_aef13add1eb55a57abf64adbf4ae5f149_icgraph" id="class_extended_move_aef13add1eb55a57abf64adbf4ae5f149_icgraph">
<area shape="rect" id="node3" href="class_extended_move.html#a8ba9c560726a121efa0c78f26780e46a" title="ExtendedMove::getInstance" alt="" coords="201,81,383,108"/><area shape="rect" id="node5" href="class_cube_approach.html#ac49270ba8b7c5bb6e60ffefc31175fc2" title="CubeApproach::begin" alt="" coords="432,5,579,32"/><area shape="rect" id="node12" href="class_curve_left.html#a0e6f8f5d7f869edfaf34cf3e74676a86" title="CurveLeft::begin" alt="" coords="649,56,764,83"/><area shape="rect" id="node16" href="class_line_center.html#a13e69abdd08c2da81f189e69642d980d" title="LineCenter::begin" alt="" coords="444,107,567,133"/><area shape="rect" id="node19" href="class_move_back_to_line.html#ab5f8b99d6379511c6ed09b4f50432641" title="MoveBackToLine::begin" alt="" coords="627,107,786,133"/><area shape="rect" id="node7" href="class_state_machine.html#a18b495baeae11732b76d252b2b8341c8" title="StateMachine::begin" alt="" coords="835,56,976,83"/><area shape="rect" id="node9" href="class_state_machine.html#a7f7482a9af6910035a62f9c116165f60" title="StateMachine::getInstance" alt="" coords="1025,56,1202,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab03bf2a16ad494c392c209d5c0b3b65d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extended_move.html#ab03bf2a16ad494c392c209d5c0b3b65d">ExtendedMove::doJob</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Does the job for which this class was written.<br/>
 This method has to be called in regular intervals.<br/>
 Executes the commands inside commandQueue one after the other. </p>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00044">44</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_ab03bf2a16ad494c392c209d5c0b3b65d_cgraph.png" border="0" usemap="#class_extended_move_ab03bf2a16ad494c392c209d5c0b3b65d_cgraph" alt=""/></div>
<map name="class_extended_move_ab03bf2a16ad494c392c209d5c0b3b65d_cgraph" id="class_extended_move_ab03bf2a16ad494c392c209d5c0b3b65d_cgraph">
<area shape="rect" id="node3" href="class_extended_move.html#a80ce42b3578e4fa17b6b2e3a05a70054" title="ExtendedMove::getCurrentCommandInQueue" alt="" coords="203,5,485,32"/><area shape="rect" id="node5" href="class_communication.html#a8679b3cb7ceef5527faa24454ce0f18a" title="Communication::send" alt="" coords="761,120,909,147"/><area shape="rect" id="node7" href="class_move.html#a237261f2dd8fc115129f0ba998f13183" title="Move::performFastStop" alt="" coords="534,107,690,133"/><area shape="rect" id="node10" href="class_extended_move.html#adfe6e7de87eab16e9a85ad5434819fee" title="ExtendedMove::executeCommand" alt="" coords="234,157,454,184"/><area shape="rect" id="node13" href="class_move.html#a9c5dc5c3a98abece0c2f40085c3601be" title="Move::controlMotors" alt="" coords="543,208,681,235"/><area shape="rect" id="node16" href="class_move.html#af6b1197771f0540b0becc4117d8d272f" title="Move::setLeftMotorDirection" alt="" coords="743,183,926,209"/><area shape="rect" id="node18" href="class_move.html#a06e67dafd581bbd086da404a90c4eeec" title="Move::setRightMotorDirection" alt="" coords="739,233,931,260"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="adfe6e7de87eab16e9a85ad5434819fee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extended_move.html#adfe6e7de87eab16e9a85ad5434819fee">ExtendedMove::executeCommand</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_move_command.html">MoveCommand</a> *&#160;</td>
          <td class="paramname"><em>mc</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Executes the given command. </p>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00086">86</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_adfe6e7de87eab16e9a85ad5434819fee_cgraph.png" border="0" usemap="#class_extended_move_adfe6e7de87eab16e9a85ad5434819fee_cgraph" alt=""/></div>
<map name="class_extended_move_adfe6e7de87eab16e9a85ad5434819fee_cgraph" id="class_extended_move_adfe6e7de87eab16e9a85ad5434819fee_cgraph">
<area shape="rect" id="node3" href="class_communication.html#a8679b3cb7ceef5527faa24454ce0f18a" title="Communication::send" alt="" coords="483,5,631,32"/><area shape="rect" id="node5" href="class_move.html#a9c5dc5c3a98abece0c2f40085c3601be" title="Move::controlMotors" alt="" coords="275,56,413,83"/><area shape="rect" id="node8" href="class_move.html#af6b1197771f0540b0becc4117d8d272f" title="Move::setLeftMotorDirection" alt="" coords="466,56,649,83"/><area shape="rect" id="node10" href="class_move.html#a06e67dafd581bbd086da404a90c4eeec" title="Move::setRightMotorDirection" alt="" coords="461,107,653,133"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_adfe6e7de87eab16e9a85ad5434819fee_icgraph.png" border="0" usemap="#class_extended_move_adfe6e7de87eab16e9a85ad5434819fee_icgraph" alt=""/></div>
<map name="class_extended_move_adfe6e7de87eab16e9a85ad5434819fee_icgraph" id="class_extended_move_adfe6e7de87eab16e9a85ad5434819fee_icgraph">
<area shape="rect" id="node3" href="class_extended_move.html#ab03bf2a16ad494c392c209d5c0b3b65d" title="ExtendedMove::doJob" alt="" coords="311,120,460,147"/><area shape="rect" id="node5" href="class_extended_move.html#a816f77b595c0ca03d44dd21b2d4de5ba" title="ExtendedMove::startCurrentQueue" alt="" coords="275,171,496,197"/><area shape="rect" id="node7" href="class_cube_approach.html#ac36a5c38b1108d4cd77172062e1795be" title="CubeApproach::doJob" alt="" coords="959,44,1108,71"/><area shape="rect" id="node11" href="class_cube_approach.html#a7d68e4fab2b3f7590b21aef387855633" title="CubeApproach::turn" alt="" coords="655,69,793,96"/><area shape="rect" id="node14" href="class_curve_left.html#a2f70c4b1efef29cdf04dff01e6a90336" title="CurveLeft::startIt" alt="" coords="975,107,1091,133"/><area shape="rect" id="node17" href="class_lift_cube.html#ab5d1090dfcf43a319666d905b374d4a6" title="LiftCube::doJob" alt="" coords="1189,145,1299,172"/><area shape="rect" id="node20" href="class_line_center.html#a4496fa59d40b06887e2dbc881b9b4ce7" title="LineCenter::doCorrection" alt="" coords="641,221,807,248"/><area shape="rect" id="node30" href="class_move_back_to_line.html#a8b48709e127b00072dcce276cff5055b" title="MoveBackToLine::startIt" alt="" coords="953,284,1114,311"/><area shape="rect" id="node33" href="class_state_machine.html#ab3634a64f8a4065a7586fcd7b32883d1" title="StateMachine::startDriveOverFinishLineExtMoveCommand" alt="" coords="545,348,903,375"/><area shape="rect" id="node9" href="class_state_machine.html#a32064aba8c9fa4afcb649d01aaf5fd78" title="StateMachine::doJob" alt="" coords="1373,196,1517,223"/><area shape="rect" id="node22" href="class_line_center.html#aa466b77cad70e564633e106efde81d4f" title="LineCenter::doJob" alt="" coords="970,221,1097,248"/><area shape="rect" id="node24" href="class_curve_left.html#a34930d2641dbbd389c536999a560f158" title="CurveLeft::doJob" alt="" coords="1185,196,1303,223"/><area shape="rect" id="node27" href="class_move_back_to_line.html#a2481a81f7c90dee23d229911c8821e65" title="MoveBackToLine::doJob" alt="" coords="1163,247,1325,273"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a27d912c36366495cd3b6b75f70b2b187"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_extended_move.html#a27d912c36366495cd3b6b75f70b2b187">ExtendedMove::getCurrentCommandIndexInQueue</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the index of the command that is currently in execution or was executed last. </p>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00129">129</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a80ce42b3578e4fa17b6b2e3a05a70054"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_move_command.html">MoveCommand</a> * <a class="el" href="class_extended_move.html#a80ce42b3578e4fa17b6b2e3a05a70054">ExtendedMove::getCurrentCommandInQueue</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the command that is currently in execution or was executed last. </p>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00123">123</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_a80ce42b3578e4fa17b6b2e3a05a70054_icgraph.png" border="0" usemap="#class_extended_move_a80ce42b3578e4fa17b6b2e3a05a70054_icgraph" alt=""/></div>
<map name="class_extended_move_a80ce42b3578e4fa17b6b2e3a05a70054_icgraph" id="class_extended_move_a80ce42b3578e4fa17b6b2e3a05a70054_icgraph">
<area shape="rect" id="node3" href="class_extended_move.html#ab03bf2a16ad494c392c209d5c0b3b65d" title="ExtendedMove::doJob" alt="" coords="372,120,521,147"/><area shape="rect" id="node5" href="class_extended_move.html#a816f77b595c0ca03d44dd21b2d4de5ba" title="ExtendedMove::startCurrentQueue" alt="" coords="336,171,557,197"/><area shape="rect" id="node7" href="class_cube_approach.html#ac36a5c38b1108d4cd77172062e1795be" title="CubeApproach::doJob" alt="" coords="1020,44,1169,71"/><area shape="rect" id="node11" href="class_cube_approach.html#a7d68e4fab2b3f7590b21aef387855633" title="CubeApproach::turn" alt="" coords="717,69,854,96"/><area shape="rect" id="node14" href="class_curve_left.html#a2f70c4b1efef29cdf04dff01e6a90336" title="CurveLeft::startIt" alt="" coords="1037,107,1153,133"/><area shape="rect" id="node17" href="class_lift_cube.html#ab5d1090dfcf43a319666d905b374d4a6" title="LiftCube::doJob" alt="" coords="1250,145,1361,172"/><area shape="rect" id="node20" href="class_line_center.html#a4496fa59d40b06887e2dbc881b9b4ce7" title="LineCenter::doCorrection" alt="" coords="703,221,868,248"/><area shape="rect" id="node30" href="class_move_back_to_line.html#a8b48709e127b00072dcce276cff5055b" title="MoveBackToLine::startIt" alt="" coords="1014,284,1175,311"/><area shape="rect" id="node33" href="class_state_machine.html#ab3634a64f8a4065a7586fcd7b32883d1" title="StateMachine::startDriveOverFinishLineExtMoveCommand" alt="" coords="606,348,965,375"/><area shape="rect" id="node9" href="class_state_machine.html#a32064aba8c9fa4afcb649d01aaf5fd78" title="StateMachine::doJob" alt="" coords="1435,196,1579,223"/><area shape="rect" id="node22" href="class_line_center.html#aa466b77cad70e564633e106efde81d4f" title="LineCenter::doJob" alt="" coords="1031,221,1158,248"/><area shape="rect" id="node24" href="class_curve_left.html#a34930d2641dbbd389c536999a560f158" title="CurveLeft::doJob" alt="" coords="1247,196,1364,223"/><area shape="rect" id="node27" href="class_move_back_to_line.html#a2481a81f7c90dee23d229911c8821e65" title="MoveBackToLine::doJob" alt="" coords="1224,247,1387,273"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af44fd7e191b2484d1b70450835b43604"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_extended_move.html#af44fd7e191b2484d1b70450835b43604">ExtendedMove::getCurrentCommandQueueId</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the id of the last executed or current executing command queue. </p>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00116">116</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8ba9c560726a121efa0c78f26780e46a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_extended_move.html">ExtendedMove</a> * <a class="el" href="class_extended_move.html#a8ba9c560726a121efa0c78f26780e46a">ExtendedMove::getInstance</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the <a class="el" href="class_extended_move.html" title="Allows to define extended car control instuctions.">ExtendedMove</a> instance </p>
<dl class="section return"><dt>Returns:</dt><dd>Pointer to the <a class="el" href="class_extended_move.html" title="Allows to define extended car control instuctions.">ExtendedMove</a> instance </dd></dl>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00010">10</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_a8ba9c560726a121efa0c78f26780e46a_cgraph.png" border="0" usemap="#class_extended_move_a8ba9c560726a121efa0c78f26780e46a_cgraph" alt=""/></div>
<map name="class_extended_move_a8ba9c560726a121efa0c78f26780e46a_cgraph" id="class_extended_move_a8ba9c560726a121efa0c78f26780e46a_cgraph">
<area shape="rect" id="node3" href="class_extended_move.html#a4bf87fc8690c78ea76464cc8d006f528" title="ExtendedMove::ExtendedMove" alt="" coords="237,5,437,32"/><area shape="rect" id="node5" href="class_extended_move.html#aef13add1eb55a57abf64adbf4ae5f149" title="ExtendedMove::begin" alt="" coords="264,56,411,83"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_a8ba9c560726a121efa0c78f26780e46a_icgraph.png" border="0" usemap="#class_extended_move_a8ba9c560726a121efa0c78f26780e46a_icgraph" alt=""/></div>
<map name="class_extended_move_a8ba9c560726a121efa0c78f26780e46a_icgraph" id="class_extended_move_a8ba9c560726a121efa0c78f26780e46a_icgraph">
<area shape="rect" id="node3" href="class_cube_approach.html#ac49270ba8b7c5bb6e60ffefc31175fc2" title="CubeApproach::begin" alt="" coords="439,5,585,32"/><area shape="rect" id="node10" href="class_curve_left.html#a0e6f8f5d7f869edfaf34cf3e74676a86" title="CurveLeft::begin" alt="" coords="455,81,569,108"/><area shape="rect" id="node13" href="class_extended_move.html#aef13add1eb55a57abf64adbf4ae5f149" title="ExtendedMove::begin" alt="" coords="237,93,384,120"/><area shape="rect" id="node16" href="class_line_center.html#a13e69abdd08c2da81f189e69642d980d" title="LineCenter::begin" alt="" coords="249,144,372,171"/><area shape="rect" id="node19" href="class_move_back_to_line.html#ab5f8b99d6379511c6ed09b4f50432641" title="MoveBackToLine::begin" alt="" coords="433,144,591,171"/><area shape="rect" id="node5" href="class_state_machine.html#a18b495baeae11732b76d252b2b8341c8" title="StateMachine::begin" alt="" coords="640,81,781,108"/><area shape="rect" id="node7" href="class_state_machine.html#a7f7482a9af6910035a62f9c116165f60" title="StateMachine::getInstance" alt="" coords="830,81,1007,108"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9bd37ba3d8f98170dd33c8726934735a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="class_extended_move.html#a9bd37ba3d8f98170dd33c8726934735a">ExtendedMove::isExecutionInProcess</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>queueId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks if at the moment an execution is in progress and returns true if so and if the currentCommandQueueId matches the given id. </p>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00101">101</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_a9bd37ba3d8f98170dd33c8726934735a_icgraph.png" border="0" usemap="#class_extended_move_a9bd37ba3d8f98170dd33c8726934735a_icgraph" alt=""/></div>
<map name="class_extended_move_a9bd37ba3d8f98170dd33c8726934735a_icgraph" id="class_extended_move_a9bd37ba3d8f98170dd33c8726934735a_icgraph">
<area shape="rect" id="node3" href="class_cube_approach.html#ac36a5c38b1108d4cd77172062e1795be" title="CubeApproach::doJob" alt="" coords="296,5,445,32"/><area shape="rect" id="node5" href="class_state_machine.html#a32064aba8c9fa4afcb649d01aaf5fd78" title="StateMachine::doJob" alt="" coords="704,81,848,108"/><area shape="rect" id="node7" href="class_line_center.html#aa466b77cad70e564633e106efde81d4f" title="LineCenter::doJob" alt="" coords="307,107,434,133"/><area shape="rect" id="node9" href="class_curve_left.html#a34930d2641dbbd389c536999a560f158" title="CurveLeft::doJob" alt="" coords="516,107,633,133"/><area shape="rect" id="node12" href="class_move_back_to_line.html#a2481a81f7c90dee23d229911c8821e65" title="MoveBackToLine::doJob" alt="" coords="493,157,656,184"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a2d7b6db52a2c01d73e245c8648bdb5d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="class_extended_move.html#a9bd37ba3d8f98170dd33c8726934735a">ExtendedMove::isExecutionInProcess</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if at the moment an execution is in progress otherwise false. </p>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00109">109</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a816f77b595c0ca03d44dd21b2d4de5ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_extended_move.html#a816f77b595c0ca03d44dd21b2d4de5ba">ExtendedMove::startCurrentQueue</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>commandQueueSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Starts working on the command queue. Put the commands into the <a class="el" href="class_extended_move.html#a5f34e9081613ec4d1796cac234b9cbb5" title="Current queue with commands that are executed.">ExtendedMove::commandQueue</a> and call this method afterwords. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">commandQueueSize</td><td>Amount of commands that shall be executed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The id of that queue. An number that is increased every time when a call to <a class="el" href="class_extended_move.html#a816f77b595c0ca03d44dd21b2d4de5ba">startCurrentQueue()</a> is done. </dd></dl>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00068">68</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_a816f77b595c0ca03d44dd21b2d4de5ba_cgraph.png" border="0" usemap="#class_extended_move_a816f77b595c0ca03d44dd21b2d4de5ba_cgraph" alt=""/></div>
<map name="class_extended_move_a816f77b595c0ca03d44dd21b2d4de5ba_cgraph" id="class_extended_move_a816f77b595c0ca03d44dd21b2d4de5ba_cgraph">
<area shape="rect" id="node3" href="class_communication.html#a8679b3cb7ceef5527faa24454ce0f18a" title="Communication::send" alt="" coords="814,28,962,54"/><area shape="rect" id="node5" href="class_extended_move.html#adfe6e7de87eab16e9a85ad5434819fee" title="ExtendedMove::executeCommand" alt="" coords="306,28,526,54"/><area shape="rect" id="node15" href="class_extended_move.html#a80ce42b3578e4fa17b6b2e3a05a70054" title="ExtendedMove::getCurrentCommandInQueue" alt="" coords="275,78,557,105"/><area shape="rect" id="node8" href="class_move.html#a9c5dc5c3a98abece0c2f40085c3601be" title="Move::controlMotors" alt="" coords="605,78,744,105"/><area shape="rect" id="node11" href="class_move.html#af6b1197771f0540b0becc4117d8d272f" title="Move::setLeftMotorDirection" alt="" coords="797,78,979,105"/><area shape="rect" id="node13" href="class_move.html#a06e67dafd581bbd086da404a90c4eeec" title="Move::setRightMotorDirection" alt="" coords="792,129,984,156"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_a816f77b595c0ca03d44dd21b2d4de5ba_icgraph.png" border="0" usemap="#class_extended_move_a816f77b595c0ca03d44dd21b2d4de5ba_icgraph" alt=""/></div>
<map name="class_extended_move_a816f77b595c0ca03d44dd21b2d4de5ba_icgraph" id="class_extended_move_a816f77b595c0ca03d44dd21b2d4de5ba_icgraph">
<area shape="rect" id="node3" href="class_cube_approach.html#ac36a5c38b1108d4cd77172062e1795be" title="CubeApproach::doJob" alt="" coords="689,24,839,51"/><area shape="rect" id="node7" href="class_cube_approach.html#a7d68e4fab2b3f7590b21aef387855633" title="CubeApproach::turn" alt="" coords="386,50,523,76"/><area shape="rect" id="node10" href="class_curve_left.html#a2f70c4b1efef29cdf04dff01e6a90336" title="CurveLeft::startIt" alt="" coords="706,87,822,114"/><area shape="rect" id="node13" href="class_lift_cube.html#ab5d1090dfcf43a319666d905b374d4a6" title="LiftCube::doJob" alt="" coords="919,126,1030,152"/><area shape="rect" id="node16" href="class_line_center.html#a4496fa59d40b06887e2dbc881b9b4ce7" title="LineCenter::doCorrection" alt="" coords="372,202,537,228"/><area shape="rect" id="node26" href="class_move_back_to_line.html#a8b48709e127b00072dcce276cff5055b" title="MoveBackToLine::startIt" alt="" coords="683,264,845,291"/><area shape="rect" id="node29" href="class_state_machine.html#ab3634a64f8a4065a7586fcd7b32883d1" title="StateMachine::startDriveOverFinishLineExtMoveCommand" alt="" coords="275,328,634,355"/><area shape="rect" id="node5" href="class_state_machine.html#a32064aba8c9fa4afcb649d01aaf5fd78" title="StateMachine::doJob" alt="" coords="1104,176,1248,203"/><area shape="rect" id="node18" href="class_line_center.html#aa466b77cad70e564633e106efde81d4f" title="LineCenter::doJob" alt="" coords="701,202,827,228"/><area shape="rect" id="node20" href="class_curve_left.html#a34930d2641dbbd389c536999a560f158" title="CurveLeft::doJob" alt="" coords="916,176,1033,203"/><area shape="rect" id="node23" href="class_move_back_to_line.html#a2481a81f7c90dee23d229911c8821e65" title="MoveBackToLine::doJob" alt="" coords="893,227,1056,254"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae80076eb8ea7ea00e7563e4bbf4657b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extended_move.html#ae80076eb8ea7ea00e7563e4bbf4657b6">ExtendedMove::stopCurrentQueue</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Stops the currently executed queue if one is in execution at the moment. </p>

<p>Definition at line <a class="el" href="_extended_move_8cpp_source.html#l00136">136</a> of file <a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_extended_move_ae80076eb8ea7ea00e7563e4bbf4657b6_icgraph.png" border="0" usemap="#class_extended_move_ae80076eb8ea7ea00e7563e4bbf4657b6_icgraph" alt=""/></div>
<map name="class_extended_move_ae80076eb8ea7ea00e7563e4bbf4657b6_icgraph" id="class_extended_move_ae80076eb8ea7ea00e7563e4bbf4657b6_icgraph">
<area shape="rect" id="node3" href="class_curve_left.html#a34930d2641dbbd389c536999a560f158" title="CurveLeft::doJob" alt="" coords="556,42,673,69"/><area shape="rect" id="node5" href="class_state_machine.html#a32064aba8c9fa4afcb649d01aaf5fd78" title="StateMachine::doJob" alt="" coords="768,67,912,94"/><area shape="rect" id="node7" href="class_line_center.html#aa466b77cad70e564633e106efde81d4f" title="LineCenter::doJob" alt="" coords="305,67,431,94"/><area shape="rect" id="node10" href="class_move_back_to_line.html#a2481a81f7c90dee23d229911c8821e65" title="MoveBackToLine::doJob" alt="" coords="533,93,696,119"/><area shape="rect" id="node15" href="class_state_machine.html#a7d0130525bd2e5314fd0b17e568c307a" title="StateMachine::stopParcours" alt="" coords="275,169,461,195"/><area shape="rect" id="node17" href="class_state_machine.html#a26dd1980d9d8f24050b624fb16ac0e58" title="StateMachine::checkCommands" alt="" coords="509,143,720,170"/></map>
</div>
</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a1220d0c15a28d8d5e2baf32b02ad33bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_communication.html">Communication</a>* <a class="el" href="class_extended_move.html#a1220d0c15a28d8d5e2baf32b02ad33bc">ExtendedMove::_com</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The reference to the serial communication class. </p>

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00033">33</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<a class="anchor" id="a10b4e2c0017fc427074934dae39b8971"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_configuration.html">Configuration</a>* <a class="el" href="class_extended_move.html#a10b4e2c0017fc427074934dae39b8971">ExtendedMove::_conf</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The reference to the configuration class. </p>

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00035">35</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<a class="anchor" id="a778375b1b506e93fb882cafd2ccf5b76"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_extended_move.html#a778375b1b506e93fb882cafd2ccf5b76">ExtendedMove::_currentCommandIndexInQueue</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Index of command that is currently in execution. </p>

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00040">40</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<a class="anchor" id="acd3af4d980730abd98da550fbd3c5333"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_extended_move.html#acd3af4d980730abd98da550fbd3c5333">ExtendedMove::_currentCommandQueueId</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Id of the current executed command queue (will be increased each time a new command arrives) </p>

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00038">38</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<a class="anchor" id="a343c183651181db5fb85ed4084d9a7a2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_extended_move.html#a343c183651181db5fb85ed4084d9a7a2">ExtendedMove::_currentCommandQueueSize</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00039">39</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<a class="anchor" id="a024e8f637662966bece3ae472feca23d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_extended_move.html">ExtendedMove</a> <a class="el" href="class_extended_move.html#a024e8f637662966bece3ae472feca23d">ExtendedMove::_instance</a><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Static reference to the singleton object. </p>

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00029">29</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<a class="anchor" id="a54bdfab5b9684ba2ede313e438d11611"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="class_extended_move.html#a54bdfab5b9684ba2ede313e438d11611">ExtendedMove::_instanceCreated</a> = false<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00030">30</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2af24920a90b5da13c36c78e9f0053f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int const <a class="el" href="class_extended_move.html#a2af24920a90b5da13c36c78e9f0053f7">ExtendedMove::_MAXAMOUNTOFQUEUEDCOMMANDS</a> = 10<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The max amount of commands the command queue can hold. </p>

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00031">31</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<a class="anchor" id="a920b4f3eb82cd5d59a136f2e4a6d3be5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_move.html">Move</a>* <a class="el" href="class_extended_move.html#a920b4f3eb82cd5d59a136f2e4a6d3be5">ExtendedMove::_move</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The reference to the move class to control the motors. </p>

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00034">34</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<a class="anchor" id="a48469d3672fb0e89c02c81cc725528ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="class_extended_move.html#a48469d3672fb0e89c02c81cc725528ff">ExtendedMove::_queueExecutionInProgress</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set to false if the last queue has been executed fully. </p>

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00037">37</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5f34e9081613ec4d1796cac234b9cbb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_move_command.html">MoveCommand</a> <a class="el" href="class_extended_move.html#a5f34e9081613ec4d1796cac234b9cbb5">ExtendedMove::commandQueue</a>[<a class="el" href="class_extended_move.html#a2af24920a90b5da13c36c78e9f0053f7">_MAXAMOUNTOFQUEUEDCOMMANDS</a>]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Current queue with commands that are executed. </p>

<p>Definition at line <a class="el" href="_extended_move_8h_source.html#l00047">47</a> of file <a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/Workspace/Arduino/prencar/<a class="el" href="_extended_move_8h_source.html">ExtendedMove.h</a></li>
<li>D:/Workspace/Arduino/prencar/<a class="el" href="_extended_move_8cpp_source.html">ExtendedMove.cpp</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_extended_move.html">ExtendedMove</a>      </li>

    <li class="footer">Generated on Thu Jun 7 2012 20:47:45 for prencar by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
